package com.roger.mybatisplus.demo.dao;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.roger.mybatisplus.demo.entity.SysUser;
import com.roger.mybatisplus.demo.entity.SysUserQto;
import com.roger.mybatisplus.demo.entity.SysUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface SysUserMapper  {
    List<SysUser> findPageUsers(Page<SysUser> page);

    List<SysUserVo> findPageUsersByCondition(Page page, SysUserQto qto);

}
